package cn.jcet.gumall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.jcet.common.utils.PageUtils;
import cn.jcet.gumall.ware.entity.WareSkuEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 商品库存
 *
 * @author coder_yang
 * @email 1546656922@qq.com
 * @date 2020-06-28 21:41:03
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 库存数量操作
     * @param skuId
     * @param wareId
     * @param skuNum
     */
    void addStock(Long skuId, Long wareId,Integer skuNum);
}

